.class public Lcom/estrongs/android/ui/topclassify/ExpandableLayout;
.super Landroid/widget/LinearLayout;
.source "ExpandableLayout.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/topclassify/ExpandableLayout$g;
    }
.end annotation


# instance fields
.field private a:I

.field private b:I

.field private c:I

.field private d:I

.field private e:I

.field private f:I

.field private g:Z

.field private h:Z

.field private i:Z

.field private j:Landroid/view/View;

.field private k:Lcom/estrongs/android/ui/topclassify/ExpandableLayout$g;

.field private l:Landroid/view/animation/Interpolator;

.field private m:Landroid/view/animation/Interpolator;

.field private n:I

.field private o:Z

.field private p:Z

.field private q:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, p1, p2, v0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/16 p3, 0x32

    .line 4
    iput p3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->n:I

    const/4 p3, 0x0

    .line 5
    iput-boolean p3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->o:Z

    .line 6
    iput-boolean p3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->p:Z

    .line 7
    iput-boolean p3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->q:Z

    .line 8
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
    .locals 0
    .annotation build Landroid/annotation/TargetApi;
        value = 0x15
    .end annotation

    .line 9
    invoke-direct {p0, p1, p2, p3, p4}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V

    const/16 p3, 0x32

    .line 10
    iput p3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->n:I

    const/4 p3, 0x0

    .line 11
    iput-boolean p3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->o:Z

    .line 12
    iput-boolean p3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->p:Z

    .line 13
    iput-boolean p3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->q:Z

    .line 14
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a(Landroid/content/Context;Landroid/util/AttributeSet;)V

    return-void
.end method

.method private a(II)I
    .locals 2

    .line 9
    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v0

    .line 10
    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result p2

    const/high16 v1, -0x80000000

    if-eq v0, v1, :cond_0

    goto :goto_0

    .line 11
    :cond_0
    invoke-static {p1, p2}, Ljava/lang/Math;->min(II)I

    move-result p2

    :goto_0
    return p2
.end method

.method private a(Landroid/view/View;II)Landroid/animation/ValueAnimator;
    .locals 2

    if-ge p2, p3, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 12
    :goto_0
    iget v1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->c:I

    if-nez v1, :cond_1

    const/16 v0, 0x12c

    goto :goto_1

    :cond_1
    if-eqz v0, :cond_2

    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->d:I

    goto :goto_1

    :cond_2
    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->e:I

    .line 13
    :goto_1
    invoke-direct {p0, p1, p2, p3, v0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a(Landroid/view/View;III)Landroid/animation/ValueAnimator;

    move-result-object p1

    return-object p1
.end method

.method private a(Landroid/view/View;III)Landroid/animation/ValueAnimator;
    .locals 2

    const/4 v0, 0x2

    new-array v0, v0, [I

    const/4 v1, 0x0

    aput p2, v0, v1

    const/4 p2, 0x1

    aput p3, v0, p2

    .line 14
    invoke-static {v0}, Landroid/animation/ValueAnimator;->ofInt([I)Landroid/animation/ValueAnimator;

    move-result-object p2

    int-to-long p3, p4

    .line 15
    invoke-virtual {p2, p3, p4}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    .line 16
    new-instance p3, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$c;

    invoke-direct {p3, p0, p1}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$c;-><init>(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;Landroid/view/View;)V

    invoke-virtual {p2, p3}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    return-object p2
.end method

.method static synthetic a(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->j:Landroid/view/View;

    return-object p0
.end method

.method private a(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    .line 3
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->e()V

    .line 4
    iget-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->i:Z

    if-eqz p1, :cond_0

    new-instance p1, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$a;-><init>(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;)V

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    invoke-virtual {p0, p1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private a(Landroid/view/View;)V
    .locals 2

    .line 17
    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    xor-int/lit8 v0, v0, 0x1

    iput-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    .line 18
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getOrientation()I

    move-result v0

    if-nez v0, :cond_0

    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a:I

    goto :goto_0

    :cond_0
    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->f:I

    .line 19
    :goto_0
    iget v1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->n:I

    invoke-direct {p0, p1, v0, v1}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a(Landroid/view/View;II)Landroid/animation/ValueAnimator;

    move-result-object p1

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->m:Landroid/view/animation/Interpolator;

    invoke-virtual {p1, v0}, Landroid/animation/ValueAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 21
    new-instance v0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$e;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$e;-><init>(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;)V

    invoke-virtual {p1, v0}, Landroid/animation/ValueAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 22
    invoke-virtual {p1}, Landroid/animation/ValueAnimator;->start()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;Z)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->setExecuting(Z)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;)Lcom/estrongs/android/ui/topclassify/ExpandableLayout$g;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->k:Lcom/estrongs/android/ui/topclassify/ExpandableLayout$g;

    return-object p0
.end method

.method private b(Landroid/view/View;)V
    .locals 2

    .line 6
    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    xor-int/lit8 v0, v0, 0x1

    iput-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    const/4 v0, 0x0

    .line 7
    invoke-virtual {p0, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 8
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getOrientation()I

    move-result v0

    if-nez v0, :cond_0

    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a:I

    goto :goto_0

    :cond_0
    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->f:I

    .line 9
    :goto_0
    iget v1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->n:I

    invoke-direct {p0, p1, v1, v0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a(Landroid/view/View;II)Landroid/animation/ValueAnimator;

    move-result-object p1

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->l:Landroid/view/animation/Interpolator;

    invoke-virtual {p1, v0}, Landroid/animation/Animator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 11
    new-instance v0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$d;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$d;-><init>(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;)V

    invoke-virtual {p1, v0}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 12
    invoke-virtual {p1}, Landroid/animation/Animator;->start()V

    return-void
.end method

.method private d()V
    .locals 5

    .line 1
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x2

    if-gt v0, v2, :cond_0

    .line 2
    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->b:I

    iput v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->n:I

    goto :goto_1

    :cond_0
    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_0
    if-ge v2, v0, :cond_2

    .line 3
    invoke-virtual {p0, v2}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    invoke-virtual {v4}, Landroid/view/View;->getMeasuredHeight()I

    move-result v4

    add-int/2addr v3, v4

    if-ne v2, v1, :cond_1

    .line 4
    iput v3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->n:I

    :cond_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 5
    :cond_2
    :goto_1
    iput-boolean v1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->p:Z

    return-void
.end method

.method private e()V
    .locals 2

    .line 1
    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->c:I

    const/16 v1, 0x12c

    if-nez v0, :cond_0

    const/16 v0, 0x12c

    :cond_0
    iput v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->d:I

    .line 2
    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->c:I

    if-nez v0, :cond_1

    goto :goto_0

    :cond_1
    move v1, v0

    :goto_0
    iput v1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->e:I

    return-void
.end method

.method private f()I
    .locals 7

    .line 1
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    :goto_0
    if-ge v2, v0, :cond_1

    .line 2
    invoke-virtual {p0, v2}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    .line 3
    invoke-virtual {v4}, Landroid/view/View;->getMeasuredHeight()I

    move-result v5

    if-nez v5, :cond_0

    .line 4
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getMeasuredWidth()I

    move-result v5

    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getPaddingLeft()I

    move-result v6

    sub-int/2addr v5, v6

    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getPaddingRight()I

    move-result v6

    sub-int/2addr v5, v6

    const/high16 v6, 0x40000000    # 2.0f

    invoke-static {v5, v6}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v5

    .line 5
    invoke-static {v1, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v6

    .line 6
    invoke-virtual {v4, v5, v6}, Landroid/view/View;->measure(II)V

    .line 7
    invoke-virtual {v4}, Landroid/view/View;->getMeasuredHeight()I

    move-result v5

    :cond_0
    add-int/2addr v3, v5

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_1
    return v3
.end method

.method private g()V
    .locals 6

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->j:Landroid/view/View;

    if-eqz v0, :cond_4

    .line 2
    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->c:I

    if-nez v0, :cond_0

    const/16 v0, 0x12c

    goto :goto_0

    :cond_0
    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    if-eqz v0, :cond_1

    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->d:I

    goto :goto_0

    :cond_1
    iget v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->e:I

    :goto_0
    const/4 v1, 0x2

    new-array v1, v1, [F

    const/4 v2, 0x0

    .line 3
    iget-boolean v3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    const/4 v4, 0x0

    const/high16 v5, -0x3ccc0000    # -180.0f

    if-eqz v3, :cond_2

    const/4 v3, 0x0

    goto :goto_1

    :cond_2
    const/high16 v3, -0x3ccc0000    # -180.0f

    :goto_1
    aput v3, v1, v2

    const/4 v2, 0x1

    iget-boolean v3, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    if-eqz v3, :cond_3

    const/high16 v4, -0x3ccc0000    # -180.0f

    :cond_3
    aput v4, v1, v2

    invoke-static {v1}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator;

    move-result-object v1

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->j:Landroid/view/View;

    invoke-virtual {v1, v2}, Landroid/animation/ValueAnimator;->setTarget(Ljava/lang/Object;)V

    int-to-long v2, v0

    .line 5
    invoke-virtual {v1, v2, v3}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    .line 6
    new-instance v0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$b;-><init>(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;)V

    invoke-virtual {v1, v0}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    .line 7
    invoke-virtual {v1}, Landroid/animation/ValueAnimator;->start()V

    :cond_4
    return-void
.end method

.method private setExecuting(Z)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->h:Z

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 5
    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    if-eqz v0, :cond_1

    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->h:Z

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 6
    iput-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->o:Z

    .line 7
    invoke-direct {p0, p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a(Landroid/view/View;)V

    .line 8
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g()V

    :cond_1
    :goto_0
    return-void
.end method

.method public b()V
    .locals 1

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    if-nez v0, :cond_1

    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->h:Z

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->o:Z

    .line 4
    invoke-direct {p0, p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->b(Landroid/view/View;)V

    .line 5
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g()V

    :cond_1
    :goto_0
    return-void
.end method

.method public c()V
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a()V

    goto :goto_0

    .line 3
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->b()V

    :goto_0
    return-void
.end method

.method protected onMeasure(II)V
    .locals 0

    .line 1
    invoke-super {p0, p1, p2}, Landroid/widget/LinearLayout;->onMeasure(II)V

    .line 2
    invoke-direct {p0, p1, p1}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a(II)I

    move-result p1

    iput p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a:I

    .line 3
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->f()I

    move-result p1

    iput p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->b:I

    .line 4
    iget-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->q:Z

    if-eqz p1, :cond_1

    .line 5
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->d()V

    .line 6
    iget p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->b:I

    iput p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->f:I

    .line 7
    iget-boolean p2, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->o:Z

    if-eqz p2, :cond_0

    .line 8
    iget p2, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a:I

    invoke-virtual {p0, p2, p1}, Landroid/widget/LinearLayout;->setMeasuredDimension(II)V

    .line 9
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p1

    .line 10
    iget p2, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->b:I

    iput p2, p1, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 11
    invoke-virtual {p0, p1}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 12
    :cond_0
    iget p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a:I

    iget p2, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->n:I

    invoke-virtual {p0, p1, p2}, Landroid/widget/LinearLayout;->setMeasuredDimension(II)V

    :goto_0
    const/4 p1, 0x0

    .line 13
    iput-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->q:Z

    goto :goto_1

    .line 14
    :cond_1
    iget-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->p:Z

    if-nez p1, :cond_2

    .line 15
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->d()V

    .line 16
    iget p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->b:I

    iput p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->f:I

    .line 17
    :cond_2
    iget-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->h:Z

    if-nez p1, :cond_4

    .line 18
    iget-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->o:Z

    if-eqz p1, :cond_3

    goto :goto_1

    .line 19
    :cond_3
    iget p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->a:I

    iget p2, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->n:I

    invoke-virtual {p0, p1, p2}, Landroid/widget/LinearLayout;->setMeasuredDimension(II)V

    :cond_4
    :goto_1
    return-void
.end method

.method public setClickToToggle(Z)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->i:Z

    return-void
.end method

.method public setCollapseDuration(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->e:I

    return-void
.end method

.method public setCollapseInterpolator(Landroid/view/animation/Interpolator;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->m:Landroid/view/animation/Interpolator;

    return-void
.end method

.method public setDuration(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->c:I

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->setExpandDuration(I)V

    .line 3
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->setCollapseDuration(I)V

    return-void
.end method

.method public setExpand(Z)V
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->g:Z

    .line 2
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->requestLayout()V

    return-void
.end method

.method public setExpandDuration(I)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->d:I

    return-void
.end method

.method public setExpandInterpolator(Landroid/view/animation/Interpolator;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->l:Landroid/view/animation/Interpolator;

    return-void
.end method

.method public setInterpolator(Landroid/view/animation/Interpolator;)V
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->setExpandInterpolator(Landroid/view/animation/Interpolator;)V

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->setCollapseInterpolator(Landroid/view/animation/Interpolator;)V

    return-void
.end method

.method public setOnStateChangedListener(Lcom/estrongs/android/ui/topclassify/ExpandableLayout$g;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->k:Lcom/estrongs/android/ui/topclassify/ExpandableLayout$g;

    return-void
.end method

.method public setShowViews(Ljava/util/List;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Landroid/view/View;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-nez p1, :cond_0

    const/4 v1, 0x0

    goto :goto_0

    .line 2
    :cond_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    .line 3
    :goto_0
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->removeAllViews()V

    if-lez v1, :cond_1

    .line 4
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroid/view/View;

    .line 5
    invoke-virtual {p0, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto :goto_1

    :cond_1
    if-eq v0, v1, :cond_2

    const/4 p1, 0x1

    .line 6
    iput-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->q:Z

    .line 7
    :cond_2
    invoke-virtual {p0}, Landroid/widget/LinearLayout;->requestLayout()V

    .line 8
    invoke-static {}, Lcom/estrongs/android/util/o0;->d()Z

    move-result p1

    if-eqz p1, :cond_3

    .line 9
    new-instance p1, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$f;

    invoke-direct {p1, p0}, Lcom/estrongs/android/ui/topclassify/ExpandableLayout$f;-><init>(Lcom/estrongs/android/ui/topclassify/ExpandableLayout;)V

    const-wide/16 v0, 0xc8

    invoke-virtual {p0, p1, v0, v1}, Landroid/widget/LinearLayout;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_3
    return-void
.end method

.method public setSwitcher(Landroid/view/View;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/topclassify/ExpandableLayout;->j:Landroid/view/View;

    return-void
.end method
